<template>
  <router-view />
</template>

<script>
// 10.页面导入使用
import { apiReg } from '@/api/index.js'

export default {
  created () {
    apiReg({
      username: 'ahf00c',
      password: '1235367',
      repassword: '1235367'
    })
      .then(res => {
        console.log(res)
      })
      .catch(error => {
        console.log(error)
      })
  }
}
</script>

<style></style>
